package com.artifact.mit.mypoint.model.api;

import java.io.Serializable;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Promo implements Serializable {
	private static final long serialVersionUID = -1356771285843318020L;

	@JsonProperty(value = "Token")
	private String token;
	
	@JsonProperty(value = "Promos")
	private Promos[] promos;
	
	@JsonIgnoreProperties(ignoreUnknown = true)
	public static class Promos {
		
		public Promos() {}
		
		@JsonProperty(value = "Name")
		private String name;
		
		@JsonProperty(value = "Description")
		private String desc;
		
		@JsonProperty(value = "UrlImage")
		private String image;

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getDesc() {
			return desc;
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}

		public String getImage() {
			return image;
		}

		public void setImage(String image) {
			this.image = image;
		}
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public Promos[] getPromos() {
		return promos;
	}

	public void setPromos(Promos[] promos) {
		this.promos = promos;
	}
}
